package com.sz.youban.tonglian.service;

/**
 * Created by liyang on 2017/6/13.
 */
public class  TranxServiceInstance {
    private static volatile TranxServiceImpl instance = null;
    private TranxServiceInstance(){}
    public static TranxServiceImpl newInstance(){
        if(null == instance){
            synchronized (TranxServiceInstance.class){
                if(null == instance){
                    instance = new TranxServiceImpl();
                }
            }
        }
        return instance;
    }
}
